﻿@model IList<Shop.Order.Models.AnyOrderDetail>
@{
    //用户订单详情页
    Layout = null;
}
<table class="table table-bordered table-striped table-hover">
    <tr>
        <td>序号</td>
        <td>订单号</td>
        <td>商品名</td>
        <td>商品图片</td>
        <td>单价</td>
        <td>购买数量</td>
        <td>总价</td>
        <td>管理</td>
    </tr>

    @for (int i = 0; i < Model.Count; i++)
    {
<tr>
    <td>@(i + 1)</td>
    <td>@Model[i].OrderNumber</td>
    <td>@Model[i].WName</td>
    <td>
        <img src="@Model[i].Url" style="width:40px;height:40px;" />
    </td>
    <td>@Model[i].UnitPrice 元</td>
    <td>@Model[i].BuyNum</td>
    <td>@Model[i].MoneyTotal 元</td>
    <td>
        <a class="btn btn-default" href="/Home/_DownloadBook?WID=@Model[i].WID">下载电子书</a>
        <a class="btn btn-default" onclick="buttonComments(@Model[i].WID)">添加评论</a>
        <a class="btn btn-default" href="/Home/WaresProduct-@Model[i].WID">查看书籍详情</a>
    </td>
</tr>
    }
</table>

